<?php
/**
 * [LICENCE]
 */

/**
 * Common interface for exception handlers
 * @category   Madoqua 
 * @package    Madoqua_Observer
 * @subpackage Exception  
 * @author     Graham Anderson - graham@andtech.eu
 * @copyright  Copyright (c) 2008
 */
interface Madoqua_Observer_Interface_Exception
{   
    /**
     * Core exception handling method
     * @param Madoqua_Exception $e
     */
    public function handle(Madoqua_Exception $e);

    /**
     * When in doubt, throw it out. For when we fail to gracefully deal with
     * our problems.
     * @param Madoqua_Exception $e
     */
    function reThrow(Madoqua_Exception $e);
}